package eom.example.elasticsearch.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springframework.data.repository.NoRepositoryBean;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author X.I.O
 * @title: StudentVo
 * @projectName spring-boot-elasticsearch
 * @description: TODO
 * @date 2021/11/17 11:52
 */
@Data
public class StudentVo {




    /**
     *
     */
    @NotBlank(message = "stuName不得为空")
    private String stuName;

    /**
     *
     */
    private Integer stuAge;

    /**
     *
     */
    @NotBlank(message = "stuAddress不得为空")
    private String stuAddress;

    /**
     *
     */
    private Integer stuSex;

    /**
     *
     */
    private String stuNote;

    /**
     *
     */
    @NotBlank(message = "stuMobile不得为空")
    private String stuMobile;


}
